<template>
  <div>
    <van-nav-bar
      title="订单详情"
      left-text="返回"
      left-arrow
      @click-left="onClickLeft"
      fixed
    />
    <van-card
      v-for="(n, index) in buyed_order_all"
      :key="index"
      :num="n.num"
      :price="n.price"
      :desc="n.desc"
      :thumb="n.thumb"
      style="margin-top: 1.2rem"
    />
    <van-empty description="去添加点什么吧" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      pay_all: this.$store.state.pay_all,
      buyed_order_all:this.$store.state.buyed_order_all
    };
  },
  methods: {
    onClickLeft() {
      this.$router.push("/own");
    },
  },
};
</script>

<style>
</style>